﻿namespace PluginRegistrationTool
{
    /// <summary>
    /// Provides a Solution Item Class with Properties for use with retrieving a list of Dynamics CRM Solutions.
    /// </summary>
    public class SolutionItem
    {
        /// <summary>
        /// Unique Name.
        /// </summary>
        private string _uniqueName;

        /// <summary>
        /// Unique Name.
        /// </summary>
        public string UniqueName
        {
            get 
            {
                return _uniqueName; 
            }
            set 
            { 
                _uniqueName = value; 
            }
        }

        /// <summary>
        /// Version.
        /// </summary>
        private string _version;

        /// <summary>
        /// Version.
        /// </summary>
        public string Version
        {
            get 
            { 
                return _version; 
            }
            set 
            { 
                _version = value; 
            }
        }

        /// <summary>
        /// Friendly Name.
        /// </summary>
        private string _friendlyName;

        /// <summary>
        /// Friendly Name.
        /// </summary>
        public string FriendlyName
        {
            get
            { 
                return _friendlyName; 
            }
            set 
            { 
                _friendlyName = value; 
            }
        }

        /// <summary>
        /// Is Managed?
        /// </summary>
        private bool? _isManaged;

        /// <summary>
        /// Is Managed?
        /// </summary>
        public bool? IsManaged
        {
            get 
            { 
                return _isManaged; 
            }
            set 
            { 
                _isManaged = value; 
            }
        }
    }
}
